<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.bootcss.com/vue/2.5.17-beta.0/vue.min.js"></script>
</head>
<body>
    <div id="app">

        <ul>
            <li v-for="(ele,index) in arr">{{index+":"+ele}}</li>
        </ul>

        <ul>
            <li v-for="(value,key) in student">
                {{key}} : {{value}}
            </li>
        </ul>

        <table>
            <tr v-for="e in stus">
                <td>{{e.id}}</td>
                <td>{{e.name}}</td>
                <td>{{e.age}}</td>
            </tr>
        </table>

    </div>


</body>
<script type="text/javascript">
    new Vue({
        el:"#app",
        data:{
            arr:['朱玲','穿山岭','郭旭东'],
            student:{
                id:1,
                name:"郭旭东",
                age:18
            },
            stus :[
                {
                    id: 1,
                    name: '朱岭',
                    age: 18
                },
                {
                    id: 2,
                    name: '荣超',
                    age: 18
                },
                {
                    id: 3,
                    name: '郭云亮',
                    age: 18
                }
            ]

        },
        methods:{
            sayHello:function () {
                return "Say Hello!!"
            }
        }

    })
</script>
</html>